package com.lzy.cloud.goods.remote;

import com.lzy.cloud.goods.remote.request.ShopRequest;
import com.lzy.framework.core.output.Result;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @author lc
 * @version 2018/7/18
 */
@FeignClient(name = "lzy-cloud-shop")
public interface ShopApi {

    @RequestMapping(value = "/shop/find/{id}")
    Result findById(@PathVariable("id") Long id);

}
